package com.chilli.cosima.data.bean;

/**
 * TOperator entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TOperator implements java.io.Serializable
{

	// Fields

	/**
	 * 注释内容
	 */
	private static final long serialVersionUID = -498176046957678752L;

	private Long id;

	private String loginname;

	private String username;

	private String loginpwd;

	private String phone;

	private String email;

	private String rolename;

	private Long roleid;

	// Constructors

	/** default constructor */
	public TOperator()
	{
	}

	/** minimal constructor */
	public TOperator(Long id, String loginname, String username,
			String loginpwd, String rolename, Long roleid)
	{
		this.id = id;
		this.loginname = loginname;
		this.username = username;
		this.loginpwd = loginpwd;
		this.rolename = rolename;
		this.roleid = roleid;
	}

	/** full constructor */
	public TOperator(Long id, String loginname, String username,
			String loginpwd, String phone, String email, String rolename,
			Long roleid)
	{
		this.id = id;
		this.loginname = loginname;
		this.username = username;
		this.loginpwd = loginpwd;
		this.phone = phone;
		this.email = email;
		this.rolename = rolename;
		this.roleid = roleid;
	}

	// Property accessors

	public Long getId()
	{
		return this.id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getLoginname()
	{
		return this.loginname;
	}

	public void setLoginname(String loginname)
	{
		this.loginname = loginname;
	}

	public String getUsername()
	{
		return this.username;
	}

	public void setUsername(String username)
	{
		this.username = username;
	}

	public String getLoginpwd()
	{
		return this.loginpwd;
	}

	public void setLoginpwd(String loginpwd)
	{
		this.loginpwd = loginpwd;
	}

	public String getPhone()
	{
		return this.phone;
	}

	public void setPhone(String phone)
	{
		this.phone = phone;
	}

	public String getEmail()
	{
		return this.email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public String getRolename()
	{
		return this.rolename;
	}

	public void setRolename(String rolename)
	{
		this.rolename = rolename;
	}

	public Long getRoleid()
	{
		return this.roleid;
	}

	public void setRoleid(Long roleid)
	{
		this.roleid = roleid;
	}

}